Add a O(n) solution to largest rectangle in histogram