add Factorial method using range