Pacman for Java using A*