Solutions to the assignments