conditionals and loops examples