Create chap2_speedup_test.py