An implementation of the patience diff using c++