scanner is almost finished!

laid the groundwork for the scanner to create tokens for the parser