Added comp to compare rationals (and integers and whatever you like)