Added dfa and regex examples