Corrected Java implementation of BST insert.