Code for problem 20.