Scrapes the stock tickers belonging to the S&P500 and generates a csv file of the results