Create while_loop example