Added debug statements to lexer