Made extendMatch take in the whole coarse and original sequences so that extensions can happen both forwards and backwards
Fixed the calls to attempt_ext to match same-direction and opposite-direction extensions