add recursion for getMatches, add .pyc in  .gitignore