Added CS171 HW4 cipher code.