Started implementation of optimized diff algorithm.