Finished diff function, bit buggy (random extra column appearing)