Solution for problem 20(bignums rock!)