Override equality to not use builtin cmp
Merge pull request #7 from cyrusv/master

Override equality to not use builtin cmp