Update square.R

version 1.2