APPLICATION OF HAMILTONIAN APPROACH TO AN OSCILLATION OF A MASS ATTACHED TO A STRETCHED ELASTIC WIRE