Recursive Power Function In Python