remove works correctly. seg fault if remove then search then close probably b/c of creating and not deleting a treeNode in search