added naive solution to closest point problem