Calculating Rectangles Perimiter