How do i print the map correctly?