Added support for Catena-DBG(Double Butterfly Graph) and 32Bit.
Adapted to latest changes to the paper and optimized memory usage
Catena-DGG: fixed some issues regarding indexing and input order for the hash functions
if I change enough comments, no one will notice that some of them were silly
Merge pull request #6 from funkysash/master

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