added a function to print a map