Fixed the loop so that it will actually ask if the input is correct