Shortest path implemented using neo4j.rb