Factors Affecting the Stock Market