Started implementing Filter.
Added new pattern abstraction class.
Build new pattern abstraction to replace boolean[] and prepare POS and DEL counting.