Fix many serious bugs in the second question

* Format string bug (q2/best_script.c, q2/best_script.py)
* Of-by-one bug in the initialization (q2/best_script.c)