runnable scanner, flex, example

I have replaced the scanner, flex, and example with runnable ones for
program 1 - they are basically the same except the nonterminals are all
of the same type and there are only print statements for grammar
actions. I have also renamed messege to message.