https://tutorialworld.in/java/while-loop-java/
Java While Loop with Explanation