Added kthSmallestSmart Method to remove the worst case in kthSmallest
Method