I have this piece of code that decrypts a message using a key:
char[] alphabet = new char[] {\'a\', \'b\', \'c\', \'d\', \'e\', \'f\', \'g\', \'h\', \'i\',