Added closed list to Astar