NEW: Rectangle class with tests