Computation of Two-Dimensional Potential Flow Using Elementary Vortex Distributions