Add packing rectangles problem

four rect into one big rect, find the smallest rect.