Calculating score with vigenere cracker