Added solution for http://leetcode.com/2011/01/double-square-problem-analysis.html