reworked alphabetic template; added vigenere cipher