magic squares is complete (only implement n is odd number).