The Discrete Maximum Principle