by massless rods as shown in the figure. x and y axis are in the plane of the system and z axis is perpendicualr to the plane and passing through the centre of the square.