Refactoring of ClosestPointPairAlgorithm, including utilizing Java 8 constructs.