Sketched function to add an element to the bloomfilter