+ closest pair ruby