Update kmalloc.c: rewrite kfree()