Magic Squares and Modular Arithmetic - Math