Finished hw4, part1
Impelemted scenario: Restrict to movies with 'PG' or 'R' ratings