https://www.mathswithmum.com/finding-the-median/
Finding the Median