The Minimum Work Principle in the Universe