formatting table of expences and incomes
extracted commen code in index of expence and income