improve search function

Add list of matched and unmatched words, create more strict algorithm