Solved problem 96 and 102