unbalanced search tree in C