Recursive sum and factorial working