Tokenizes standard input