First iteration of bloom filter for adding search functionality.
Beautified (and fixed) the bloom filter code a bit.