Draft for week4 Cryptography course programming assignment