Square class inherits from Rectangle class