Added FloydWarshell algorithm, DFS, BFS and fixed other bugs