Solved issue #5 by introducing a proper boundary check for words that are at the end of a String
Releasing v0.2.1 bug release for issue #5