public void accMng() throws IOException
{
    Scanner in = new Scanner(System.in);  
    System.out.println("-----------------------");
    System.out.println("Account Management Menu");
           System.out.println("1.Create New Account");
           System.out.println("2.Delete account");
           System.out.println("3.Edit Account");
           System.out.println("4.Search for account");
           System.out.println("5.Display total Accounts");
           System.out.println("6.Return to Main Menu");
           System.out.println("Type a number to select an option");
           System.out.println("-----------------------");
           String choice = in.nextLine();
        switch (choice) {
            case "1":
                createAcc();
                break;
            case "2":
                deleteAcc();
                break;
            case "3":
                editAcc();
                break;
            case "4":
                searchAcc();
                break;
            case "5":
                System.out.println("-----------------------");
                System.out.println("There are currently "+numOfAccounts+" accounts.");
                System.out.println("-----------------------");
                accMng();
                break;
            case "6":
                mainMenu();
                break;
            default:
                System.out.println("-----------------------");
                System.out.println("Not a valid option.");
                System.out.println("-----------------------");
                accMng();
                break;
                
        }
           
    }