rect_1d_grid function

Rectangle plot in 1d using the grid package