Change to getNodeNames
Add shortest distance route
Add javadocs