Fiexed bugs in lex3er, and added pretty printer for testing it.