Added CalculateSumOfNFactorialAndX