Grid class, completed is_out_of_bounds() and get_neighbours..