added solutions to homework 2 for questions 2,3 and 4