Java Enigma cipher machine