next_to_something
} while (!next_to_something(row, col));
static boolean next_to_something(int, int);