Create wordDfa.cpp