Csv reporting

Add ability to log profitability to a CSV file for further analysis