Finish the project

This was a big edit, I added the rest of the tokens.  I also removed the 'stack' in getNextState because the code already had a method of obtaining the value of the current token.