finish master theorem of divide and conquer