Added a solution for problem 28
Added a solution to problem 29