First programming assignment for a coursera crypto course.