While loop example added