public void showMovies(Map movies) {
        Movie movie = null;
        Object counter;

        Iterator inter = movies.entrySet().iterator();
        while (inter.hasNext()) {
            Map.Entry entry = (Map.Entry) inter.next();
            counter = entry.getKey();
            movie = (Movie) entry.getValue();
            System.out.println(counter + ". " + movie.getMovieName() + " " + movie.getDirector() + " " + movie.getRate());
        }
    }