Formation of the Two-Party System