Completed first section of semester hw assignment