Calculating the area of a rectangle