Add tree.cpp
Merge branch 'mergeBranch'