Solved problem 13 and added skeleton for problem 14.