Add bloom filter

This PR adds the bloom filter data type and functions.
It also contains adjustments to the AVL data structure.
Is there a need to explain the algo (e.g. in the paper)?