power fn implemented
Looping is recursion is done