completed while-loop challenges