Master theorem simplified