add medianOfThree method
add medianOfThree method
add medianOfThree method