Complete exercises 2.3-5 and 2.3-6