Pacman moving only along path -almost working