basic astar skeleton done