Wrap reading from stdin in program. Add for loop example next to while loop example.