introduce python type Hashtree