check if a string contains substring without using the build-in contains method
Merge branch 'master' of https://github.com/rafaelfang/LeetCode