progress on client side code: createTile and createMap. Map generation