Added uniform cost graph search.
Now bfs and dfs return the path, not the heap-paths.