Uniform rod AB is hinged at end A in horizontal position as shown in the figure. The other end is connected to a block of mass m through a massless string as shown. The pulley is smooth and massless. Masses of block and rod is same and is equal to m. Then find the acceleration of the block just after release.