Python A* Example (Didactic)