Create Floyd-Warshall Algorithm