Check in broken version of floyd-warshall