fixed bug in floyd-warshall result generation