Added graph_from_isomap() function to create a directed graph. Added types to the pathfinding code.