Programming assignment for week1 of my cryptography class.