Added Square graph problem and solution.