midterm homework using twillio