Java Program Using String Tokenizer Python W3schools