New solution for 'Pow(x, n)'