parser checking for all errors+ new Token(INVALID)

This is a working version.