public void selectMenuOption(int selection, Map books, Map movies) {
        switch (selection) {
            case 1:
                myLibrary.showBooks(books);
                myLibrary.dealWithBookSelection(books);
                break;
            case 2:
                myLibrary.showMovies(movies);
                break;
            case 3:
                break;
            default:
                System.out.println("Select a valid option!!");
                break;
        }
    }