Modified isDigitLiteral and parserClass

isDigitLiteral is now optimised to look for numbers. It seems that
isIntegerLiteral is redundant now.

Parserclass now has the correct token definitions (taken from Jess's
code).