Calculate hash of block
Add pretty printing of a block