Refactored Tokenizer.java minorly.