added solutions to Programming Exercise for Week 2