Update Map.java

added documentation