adding print-rat
answers for exer 2.2
exer 2.3 - implemented rect as height and width and then as 2 points.