Fix bug and add Sample Output

Fixed a bug that gives undef behavior when the input text presents
certain delimiters.

Add a sample output obtained on test_input.txt with —verbose