Compute Area and Perimeter of a Square