create final5.py
successful depth first search preprocess of graph
create final6.py