While loop implementation
Merge branch 'while_implementation'