Header corrected
.gitignore will ignore temporary files created by emacs
Dfs algorithm added