A* algo added