A* Algorithm implementation in python.