hw3-2 filtering on ratings