  We present a new generating algorithm to construct exact non static solutions
of the Einstein field equations with two-dimensional inhomogeneity. Infinite
dimensional families of $G_1$ inhomogeneous solutions with a self interacting
scalar field, or alternatively with perfect fluid, can be constructed using
this algorithm. Some families of solutions and the applications of the
algorithm are discussed.
