Added support for Catena-DBG(Double Butterfly Graph) and 32Bit.

Memory optimized implementation of Catena-DBG that matches current state of the paper.