Finished Vigenere Encryption function