Add method to build a complete binary tree