updated movement

changed the behaviour of the movement to resemble the original pacman
movement