Tested with git hub client
Code for DFS. Version 1.0