private void createPlayFairMatrix() {
        List<Character> keyCharsAsList = Arrays.asList(key);
        alphabateSet.removeAll(keyCharsAsList);

        if (keyCharsAsList.contains(new Character('i')) || keyCharsAsList.contains(new Character('j'))) {
            alphabateSet.remove(new Character('i'));
            alphabateSet.remove(new Character('j'));
        } else {
            alphabateSet.remove(new Character('j'));
        }

        int k = 0, l = 0;
        for (int i = 0; i < 5; i++) {
            for (int j = 0; j < 5; j++) {
                if (k < key.length) {
                    playFairMatrix[i][j] = key[k++];
                } else {
                    playFairMatrix[i][j] = alphabateSet.get(l++).charValue();
                }
            }
        }
        for (int i = 0; i < 5; i++) {
            System.out.println("Matrix Created: " + Arrays.toString(playFairMatrix[i]));
        }
    }