wrote move method in MovableGameObject