Refactored FloydWarshall to return a Result Interface, also it will throw an Exception in case of negative cycles (or loops), the Tests were also rewritten to be more specific.