Updated generator to display internal state for block 0 and 1 as well as print result for blocks 0 and 1.