learning the while loop.