CSC413: Software Development, Second part, a token parser for the .x language.