This program is to compute the "ith" or "kth" smallest value from an initially unsorted array or whatever  statistic it is the user wants