Improved functionality of RevString so instead of parsing a single string and ending the program, it allows user to keep entering strings 'quit' is sent to the input