added PackedSquare and Rectangle class