Polybius Square Cipher (Java Implementation)