Create Scanner.java

takes a TokenStream instance and scans its input characters, inserting Token objects into the tokens list.