Updated sum and factorial, added choose