created script to add legislator data and saved it into a text file