Added equals, getArea and GetPerimeter