DemoMap.java is modified for better format of its output.