Added comparable implementation in Gear class