An emulation of the M4 enigma machine, project #0 for CS61B.