Java program that creates a map