An Introduction to Nuclear Astrophysics