Early one morning, more than a hundred years ago, an American inventor called Elias Howe finally fell asleep. He had been working all night on the design of a sewing machine but he had run into a very difficult problem: It seemed impossible to get the thread to run smoothly around the needle.
Though he was tired, Howe slept badly. He turned and turned. Then he had a dream. He dreamt that he had been caught by terrible savages whose king wanted to kill him and eat him unless he could build a perfect sewing machine. When he tried to do so, Howe ran into the same problem as before.