Help methods for the binary tree operations