algorithm skeleton / helper functions / trailing-zeroes

This is a first draft based of "Cardinality estimation" based on Flajolet's papers. I have implemented some helper functions and trailing-zeroes which does some bitwise arithmetic. The main component is left to develop.