ex11, while loops and boolean expressions