Documentation added to the spanning tree solution.