Add python bindings for Floyd-Warshall