workflowPartialMatch function

Finds the section in a long sequence that better matches a short sequence.