simple string searcher for demonstrating TDD