Ruby implementation of Google diff_match_patch.