added binary tree type
refined binheap for bintrees
added archive function

Incorrect output, 'e' should have '0' code.