who invented the earlist instrument to tell people where earthquakes happened