Added solution to problem 20. Cleaned up solution 14.