adding flags to Peg
refactoring Parser
peg has flags and new optimization
adding new parser
updated peg parser