Adds an implementation of Floyd-Warshall shortest path algorithm