cleaned census data and write out results to new .csv file