Add __eq__
Refactor slicing