make tree and traverse.
Destory the whole tree