Fix some bugs about question2.c