added equality to lib
Merge branch 'master' of https://github.com/mkjois/contract