Area and Perimeter for squar and rectangle