Update wordDfa.cpp

made change so the n could be used for q0 and q3