Smart Squaring

Square numbers intelligently. Basically, $ x^2 = x * x $.

(c) 2015, Mengyin and Gao T. Wang.