exercise using break/continue in a loop