This is a program that is suggested by the AP Board on its Computer Science Exam. I completed this program and this is the result. A magic square is a square that has elements which, when added either horizontally, vertically, or diagonally, give the same sum. As a consequence, magic squares are very hard to produce. And when one thinks that a square pattern may be magic, it may not. This program serves to verify that a square is, in fact, a magic square. (As a bonus, an easter egg was included in the source code in the form of a joke. This does not impact the code functionality in any way. Have a good laugh if you spot it, and look harder if you can't. This easter egg is meant to get you to think in the same way a programmer does when trying to identify bugs in the code.)