Update BST.java

Function done coding waiting for the testing