Text this: Cosmology and astrophysics through problems