240. Square, Diamond, and Rectangle

The problem with troubleshooting is that trouble shoots back.