implemented basic MyTree Methodos