Recreating the military version of Enigma cipher Device in java