Define toList, fromList for NFA & DFA. Begin NFA to DFA conversion