Regular Grammar to FNDA
Minor changes
FDA to Regular Grammar