Import an LCS diff algorithm
Added a simple hash property