add ‘recursive’ option to prevent search descending into subdirectories
removed semicolons
change recursive flag to depth parameter
added missing test file
style changes
Merge pull request #1 from jaz303/recursive-option

add depth parameter to scope recursion