add singleton pattern
Merge branch 'master' of github.com:lk9025/PyPattern