multiplying factorials together