First version of NFA implementation and RE library.