While loop exercises, plus Exercise33 from if statements