Completes 6.11-6.13 exercises on The Template Forest