Added libraries (correctly) and implemented BellmanFordAlgorithm.java