make_grid function

Generate a grid of x-y coordinates.