New grid gen

grid generator and a test application/visualizer.