simple impl of Vigenere cipher