Basic Operations on Binary Trees in C