A* algorithm implementation in Python