Update Maximal_Rectangle.cc

Add O(n^2) time solution.