Implement Depth First Search Algorithm In Python