homework conditional loops.