Update file_system.c

had a bug in write_block_map, also added comments