implemented function shouldRespond()
implemented shouldRespond() with regex
Merge pull request #2 from helenawuhw/respond

Merging shouldRespond() implementation