Added comments to the Grid and Cell classes. Also reordered the methods