Added cmp.py. Added some info in the README.