added an append function.
program makes a bst structure