Implemented word diffing.