Decryption Lab in C++