Assemble the while loop.

Make sure to pick while followed by ( and then shouldLoop === true, ), {, }.