Implemented Bellman-Ford algorithm

The current implementation is aimed at detecting negative cost cycles,
needed for the cycle cancelling algorithm.
Added min_cost_flow.py

Implemented the cycle cancelling algorithm to solve a minimum cost flow
problem.