Token

Implementation of the function getToken(), and an internal function
getInt() (not to be used outside this scope!!!)