Lex: add program 1a, 1b, 2a.

Signed-off-by: Karthik Nayak <karthik.188@gmail.com>