added our own implementation of bellman-ford, used it on problem 1.3