Completed first part of assignment.