Java class of the Vigenere cipher