Added Grep class and test.