finished rectangle class