Polynomial Rings and Affine Algebraic Geometry