Create NFA for each terminals class