Added the "printTreeNames" method to the BSTBuilder class