Task 3:

Converting while loops into for loops

If you have the time left, repeat all the parts of Task 3 with the remaining two variants of the orMap — namely the one that uses the for loop with the Traversal and the one that uses counted for loop.