Add operator[] to rect_grid