Minor syntax error in shortest path.
dropped paths between vertices section in favor of shortest path section. a bit of teh same thing.