solved the exponential expansion challenge