Redid the shortest path program, but it is still in progress