Simple bloom filter implementation