A solution to http://www.solveet.com/exercises/Detectando-cuadrados/157