Lab1 Switch from an "IF" to a "while loop"