added boolean parameter to checkToken/Lexeme() for forward-look and delegated processed tokens count to Scanner class