Updated endwise_pattern to match elixir endwise_words

I forgot to update this piece, and it was the same as ruby