modified vigenere.c