add new pre/in order travesal tree method