Finished lexer and sample programs