2D Closest Pair geometric problem (brute force and divine & conquer) - CPU and CUDA versions