Added ex3.7 & ex3.8 solutions