Added single source shortest path as well as substantially improved command line parsing.