Bellman-Ford algorithm created and tested. Only synchronous solution is currently available.