Java program to monitor mounthly incomes and outcomes