Implemented tile map generation