add .product method of Array