fixed bug
commented out some debug.
reformatting
added grid positions for up to 41 grids