Assignment from my Automata class.  Done by Iker and me.