A simple iterator based lazy evaluation program.