Factors contributing to the formation of political parties