putting in variables for width and height of square