The acceptance test for the word "earth" fails, because there is a subtle off-by-one error here. The `i != end` code should instead be `i  <= end`. This would be a good case to unit test. Can you match the last word in the list of words to search.