First part of vigenere cipher.

Solves the first section of the vigenere problem.