Implementation of an Enigma Machine