Bloom Filter implementation in Java