easy way to calculate exponents - Search