Finished solution for problem 30
Added a solution to problem 31
Added a solution to problem 32