Modify method movie_with_actors to use pattern matching.