Java implementation of the Rotor for the Enigma Machine