Update Map.scala

Added 2 getters (getGrid and dimension)