Added sliding window minimum and maximum implemented with the deque algorithm (simulated with vector).