fix: while statement DO example

- Fixed recommended example for while statement implementation.
- Modified wording from "for" to "while" in the "don't put semicolon (...) " recommendation.