writing a program is for a class assignment.