code: public ArrayList<IntBinaryTree> getLeaves() {
          LeafCollector leafCollector = new LeafCollector();
          postOrderTraversal(leafCollector);
          return leafCollector.leaves;
      }
docs: Gets the leaves of this tree.