Tester

Created a tester and fixing bugs in diff