Code refactoring:better function for MedianOf3 numbers