Rujoiu Laurentiu tema DFS BFS
This is the final version, thou it doesn't work properly.