Working build-automata-fnta-fn that takes in a dfa hash structure and writes a my-dfa function specific to that hash