Make calling Max, Min, Median do not change the input list and update
tests to ensure that as well
s