added solutions for HW5