pub fn grid_point_to_coord(point: Point, grid_width: usize) -> usize
Converts from a grid (x, y) point to a coordinate ID