completes expense tracker, adds toggle between categories and keeps their purchases; also adds total.