public static void main (String args[])
    {
        System.out.println("Welcome to the Movie List Application.");
        System.out.println("There are 100 movies on the list.");


        Scanner sc = new Scanner(System.in);

        String choice = "y";

        ArrayList<Movie> myListOfMovies = createArrayList();

        System.out.println(myListOfMovies.size());


        while (choice.equalsIgnoreCase("y"))
        {
            System.out.println("There are four categories: animated, drama, horror, and scifi");
            System.out.println();

            String personMovieCategory = Validator.getRequiredString(sc, "What category are you interested in? ");

            Collection<Movie> matchedMovies = new TreeSet<>();
            for(Movie movie : myListOfMovies) {
                if (personMovieCategory.equalsIgnoreCase(movie.getGenre()))
                {
                    matchedMovies.add(movie);
                }
            }
            for (Movie movie : matchedMovies)
            {
                System.out.println(movie.getTitle());
            }

            choice = Validator.getRequiredString(sc, "Continue? (y/n): ");
            System.out.println();

        }
    }