Java encypter / decrypter with choice between polybius or affine ciphers