closest pair solution added