Added comparison operators for grid_t.