Finished lab-4 HW assignment.