Write a story about a scientist who accidentally creates a time machine and gets trapped in a different era