Get all rectangle points on an x,y axis, given upper left points and grid size
$upLeftX
$upLeftY
$gridSize
array