Debugging step-by-step

The purpose of this tutorial is to demonstrate the iterative process of creating a bug-free program.

In this example, we want to count the occurances of a single character in a string.