adding programming assingment 2