Debugged the updated version of the merging code. This code now successfully deals with all the sequential and pthreads code examples, with the exception of example 4, where it is too eager to detect variants.