Update mathquiz.c

add more comments to code