Create NearestPair.scala