Added Astar with changes to work with Lab2