Created a loop and allow users to quit