decryption works, debugging output almost matches but not completely, all that the program needs is I/O