implemented the income and expenses method. Now the add records to
HashMap.