Update WaveletTree.java

Added javadoc and comments :)