overrided hashcode() and equals() for ExpenseType due to its use in a hash map
simplified averageExpenditure() method