Renamend data structures to avoid confusion and slimmed their inferface.
Enhancing of bfs.
Minor changes.
DFS now does not use a special stack anymore -- it keeps track of visited nodes
by itself and uses a simple list as stack. Now DFS is much smaller.