removing dependency on diff-lcs gem