1 task solved and 1 template added

1) Task 'Cycles Detection' has been fixed
2) Template for task 'Transitive Closure on Candy States' has been
submitted.