Creates a grid of squares in Postgres/Postgis ready for geoqueries