Implemented trivial functions.

allocate_block, free_block, indir2_index, indir_index, direct_index