Python implementation of a bloom filter