assignment 4.

shortest path with negative circles.

Used algorithm

-- shortest path algorithm ----
Bellman-ford
Dijekstra (using heap npm module)

-- all pairs shortest path algorithm ---
Jonhson's
Floyd-Warshall's

-- with test cases, they are all correct ---