Amazon Robotics Interview Question

How to code a simple A-Star search algorithm.