add template.cxx file.
1347, kruska algorithm.
Merge branch 'master' of github.com:pexeer/OJ
jobdu, 1357