some divide and conquer problems