Splits extra spaces in input magic squares