Modified Class Line - should work now.
Changed getPerimeter in Square- and Rectangle Class (from * sign to plus).
Changed equals in Square class to only compare once.