Create astar.cpp