Power Algorithm Complexity Example