Debugging is a very important part of writing a good algorithm or computer program and it works best when we check for bugs as we go along, rather than at the end. Let's think about an everyday ...