Added EMPTY and FIRST_BLOCK constants for use elsewhere.
Added a function to decode a block_index to a puzzle.