Added code for outputting the compressed sequences in the correct order for both single-threaded and multithreaded code