Update listing-4.12.html

no parameters and start 'for' from zero;