new floyd-warshall implementation, matrix-multiplication used one superflous addition (removed)