Find a path for Pacman.