Find patterns
Merge pull request #29 from Meng-Gen/problem-340

Find patterns