The gear works of a mechanical clock is a complicated feat of miniature engineering