added input.txt and integrated with astar search