adding equals and hashcode for category
Created helper sum the expenses for each category
new api to get expenses by category
making sure to tell the difference between 2 categories with the same name and different types
refactoring to use new expenses by category api