A block of mass m is connected to another block of mass M by a spring (massless) of spring constant k. The blocks are kept on a smooth horizontal plane. Initially