[c] binary search tree with morris traversal