making _return_node helper function
dikstra traversal added
changed to return shortest path
added longer path which passes dikstra
 cant quite get shortest path from bellman-ford
kind of confused about what bellman ford should return