Completes 6.2-6.3 exercises on The Template Forest