Finished the class Filter and its Test Class.