Added clause to calculate the product of all of the elements of a list (elements must be arithmetic constants)