NFSA to DFSA conversion tool