fixed errors in questions and added solutions