Started to set up the A* search.