Tabula Recta based Encryption algorithm in C++