Java Enigma Machine