Median calculator for integers, does not have a sort for inputs yet