Problem 15: Extend Range with a multiply method and avoid calculating factorial(m) twice and then canceling it.