Problem "Testing Acyclicity" solved

http://rosalind.info/problems/dag/