Computing the power a^n using the even odd representation of natural numbers