Initial version.
Code for problem 34E.