Created Square class