Homework 2 completed

added controls to the homework controls