Changes at output logging
Created samples
Added lexer function and test