Cosmology and Astrophysics through Problems