added a depth first search. updated main to showcase it, and altered header file aswell.