added if statement inside do while loop to allow user to quit to do list program