allocates storage for
tree
*ptree = malloc (sizeof(binarytreerecord));