Graph construction and shortest path search is starting to work\! Add a simple interface on stdin.