C++ realization of Vigener cypher