Update init.c

Add comments to codes.
Merge pull request #1 from hanjianqiao0/patch-1

Update init.c