Added a check for numbers

A check to make sure that a number is the right syntax 1f5 is not a
valid number, will return a token of type error, g5 is a valid token 5g
is not.