Implement Lexer result dumper as specified on the assignment sheet.