First attempt to create a NFA graph generator