solved poly_exercises