Add namespace to triangle exercise.

... to be consistent with other examples. See PR #4 & PR #7.