fixed Peek EOF bug. tweaked bugs in lexing