My partial regular expression implementation in CPP -- NFA approach