https://www.somethingsblog.com/2024/10/22/mastering-recursive-power-calculation-in-c/