Selection method, O(n). Find the Kth element