Deriving the Maxwell Boltzmann distribution law