This is an implementation of Winnowing algorithm.