Floyd-Warshall shortest path searcher is added. Some refactoring is done