Visits every instruction in order.
Program to walk.
Called with each instruction, its index and the program.
Visits every instruction in order.