Added program which finds median for random inputs.