modifies shortestpath.cpp and adds documentation/questions