created functions that can convert an integer key to enigma settings, but need more testing code