added solutions to questions 1 and 3