added solutions for 5th chapter