Final commit and push before bed. Transition to Bellman-Ford algorithm
complete. Needs testing.