class Map:
-added implementation of method move