oops
getWidth and getHeight should be in IShape
A square is not a rectangle.