add solution for maximal rectangle
add solution for partition_list