chap_1: add acceleration towards mouse example