Added treeToQueue and treeToStack methods