The Method of The Median in The Theory of Errors