Worked on map class

Tile nested class implemented.