5 ancient inventions that were ahead of their time