Simple lex creation

Not tested!!!