Library providing utility functions for handling KLVM programs

computing tree hash:

rust fn tree_hash(a: &Allocator, node: NodePtr) -> [u8; 32]