Can you write a 234 binary search tree assignment in Java, and write explanation about it?