passed first test
add filter method
Merge pull request #1 from salarkhan/add_filter

Add filter method.