Integration between UI and AStar implementation...still not working