添加Tree-constructor/destructor
Update C++ exercise.
add constructor param. update functions.