parallel vs sequential processing of factorial