added inside_grid_check to ship class