Update and rename prog3.cpp to shortestpaths.cpp