fixed dome bugs including carriage return problem that was the reason
why it worked on Omnya's machine and didn't work on mine, the added code
is marked with TODO in NFA. fixed another bug related to AC states ,
still need to change pattern name punctuation with the punctuation mark
itself as stated in project description and still need to fix range
"a-z" our parser reads it as "A-Z"