A Square Detector for the 2013 Facebook Hacker Cup