I think my logic for Vigenere is right, but somehow the encryption is not correct.
I am converting the original string to a modified string having no whitespaces. To