Square of an integer calculator