create Heap/LoserTree (#26)