fix bug in trial balance, added formatting in balance sheet