created for loop the takes an array numbers gets the product