Demonstrates a simple while loop.