A set of files for solving the problem listed here: http://stackoverflow.com/questions/22222994/optimal-merging-of-triplets