More practice with loops and conditionals