An Introduction to Cosmology