add 4 default patterns and find the main pattern
Merge pull request #1 from yupingzhang/develop

add 4 default patterns and find the main pattern