Adding first part of third programming assignment.