implement breadth first search shortest path distance by adding node
values to the graph subroutine + fixing tests