While loop example