remove formatting comment
created grid data type; wrote ctor
added appropriate comments
created header file for grid, moved appropriate
declarations there
replace error message with proper asserts
added grid destructor
added data structures and routines for constant-time lookup of tiles in
grids, and for the lookup of the coordinates of a given tile.
also corrected a major error in the narrative description of the grid
data type.