Evaluate the following integrals:

a) \int\gamma}\frac{x^2-1}{z^2+1}dz$, where \gamma is the circumference of radius 2 centered at 0

b)\int_{\gamma}\frac{sin e^z}{z}dz, where $\gamma$ is the circle of radius 1 centered at 0.