Finished the following functions: readdir, allocate_block, free_block, indir_index, indir2_index. The comments for direct_index seems to be wrong