Coordinate Ring of a Product of Affine Varieties