Interactive Small-Step Algorithms II: Abstract State Machines and the Characterization Theorem (Logical Methods in Computer Science, 2007)