Problem "Square in a Graph" solved

http://rosalind.info/problems/sq/