Much better example using factorials rather than squaring.