Update nfa.cpp

here is another update to the program. since last update i have:

Fixed the transitions[][][] array to clear all positions to 0 when its created
Fixed missing transitions from last state
Created a base machine function (will run for empty test strings)
 

With the machine function, i am still working with one huge problem: i don't know how to pass the array transitions[][][] becuase of its variable identitfiers. I have written code around it, anywhere i would like to use transitions[][][] in the function, i have put the following code:

      /* transitions[some#][some#][some#] */

The program will not currently build as is, but place a "true" in front of those segments of code where needed will make it work. Once i can figure out how to pass that array, progress should be much smother...I'm hoping.