Playfish interview question

How does A* work?