Solutions to exercise sheet 1.