Development of the Correlation of Galaxies in an Expanding Universe