Basic tree program to create a binary tree without duplicate entries