Added Question 7

made an if statement that can check conditions infinitely and then when
the conditions are met it exits the loop.