Two blocks, each of mass M, are connected by an extensionless, uniform string of length l. One block is placed on a smooth horizontal surface, and the other block hangs over the side, the string passing over a frictionless pulley. Describe the motion of the system (a) when the mass of the string is negligible and (b) when the string has a mass m.