Program written as an assignment.