Assignment: Conditionals - Personal

changed if statements to while statements for validation