Added min and max of stack in O(1) Problem Solution