add tree travesal
add tree depth