Could someone explain me, how while works and an Example to it with to conditions such as while board=5 and another thing, Thank you