For Loop Interview Question