Instrument for registering earth quake