fixed vigenere solver