Homework fail //Fin kth smallest number in array using partition\