college java assignment to create a user generated dictionary implemented by a binary search tree