completed Class Rectangle application