public String getBooksByGenre(ArrayList<Book> b, String g) {
        
        for (Book c : b) {
            if (c.getGenre().equalsIgnoreCase(g)) {
                output = c.getbookTitle();
                break;
            }
            else {
                output = "Genre " + g + " not found";
            }
        }
        return output;
    } // end method