added code to allow the typing of tab characters in the editor.
tagged tokens with their indices in the program, allowing the compiler to highlight errors when they are encountered.