Adding exercise 2 solved and 3 in the way