Find cycles and count by dynamic programming
Merge pull request #34 from Meng-Gen/problem-209

Find cycles and count by dynamic programming