Python implementation of the patiencediff algorithm
