Add arithmetic comparison of objects (__eq__ and __lt__)