completed string searching on codeeval