Formation of Quasars at High Redshift