add transactions and keep a log in a csv file, while calculating a current balance