Forks of Assignment 8: Brushing (with filtering)