completes first hw assignment.