For loop examples with lists