basic while loop
infinite loop easily expressed
added basic if statement