Fixed bug in automat, scanner, buffer and TestScanner. Now waiting for symtable.