single pattern to NFSM construction algorithm was finished - not tested. Matching algorithm was finished - simple tests were added