add mac
add struct WordNode
success make
finish pattern2dfa
finished version 1.0