public static void main(String[] args) {
		SavingsAccount bank[] = new SavingsAccount[2];
		Scanner stdin = new Scanner(System.in);
		createAccounts(bank,stdin);
		
		System.out.println("Initial accounts:");
		displayAccounts(bank);
		
		int choice;
		SavingsAccount acc;
		do{
			System.out.print(
					"1) make a deposit\n" +
					"2) make a withsrawal\n" +
					"3) end the month\n" +
					"0) quit \n -> ");
			choice = stdin.nextInt();
			switch (choice) {
			case 1:
				acc = selectAccount(bank,stdin);
				System.out.print("Amount to deposit? ");
				acc.deposit(stdin.nextDouble());
				break;
			case 2:
				acc = selectAccount(bank,stdin);
				System.out.print("Amount to withdraw? ");
				if(!acc.withdraw(stdin.nextDouble()))
					System.out.println("ERROR! withdrawal not allowed!");
				break;
			case 3:
				endMonth(bank);
				System.out.println("New balances: ");
				displayAccounts(bank);
				break;
			case 0:
				break;
			default:
				System.out.println("ERROR! not a valid selection!");
			}
		}while(choice != 0);
	}