updated the code to draw a square, this is just boiler plate code