Object oriented grep kata