Add get_cells function
Refactor: pull adjacent_cells fn out of travel_to_pane