Iterated period integrals of elliptic curves