adds a function which compares a string againsts a set of possible values
Merge pull request #8 from zcourts/develop

compare string against a set of possible values