Astar Working like a charm!!!

Astar in pacman like form.