added Tile and TileGrid classes -- not yet tested
fixed Tile and TileGrid so that love is happy