correct first and left
Correct version of medianOf3