Define an equals method for the class. In our bizarre definition of sequence equality (do not tell your math teacher about this J), we will assume 2 sequences to be equal if they have at least matchCount terms in common. The placement of terms do not have to match. For example, if matchCount is 3, the sequence 1, 2, 3, 4, 5, 6 and 2, 4, 6, 8 would be equal because there are at least 3 number (i.e. 2, 4, and 6) that show up in both sequences. For the same example, the sequences would not be equal had matchCount been set to 4.