Implementation of Vigenere cipher