The cin >> s1 stops at each space creating a string the length of one word.
The loop is there so I can read in each word and do some processing on each word.
I need it to stop at the end of the line. Right now after I hit enter on the input it processes the line and waits for more input. I want it to break out of the loop and end the program.