fix overflows in get_block_types() function
rewrite get_block_types()
fix the bug with the return statement
tuple -> list for array indexing
Merge pull request #143 from segasai/gadget_fix

Gadget snapshot reader fix