Exercise 11: While-loop and boolean expressions