Options to export the NFA and DFA to DOT files.
Minor cleanup.
Fix whitespaces with go fmt.
Fixed bug that caused matches to be missed.

Added test case in nex_test.go to exercise the fix.