Second programming assignment.