Completes 6.7-6.10 exercises on The Template Forest