Formation of Large-Scale Structure in the Universe