added exercise 33 while loops