corrected quadratoMagico.c