Finished the implementaiton of the diff tool.