Implement Depth First Search Using Python