codes for full binary tree ADT