Completed equality implementation

https://github.com/kfgodel/diamond/issues/18