While and For loop examples