Added array push to square functions