Write a story about a scientist who accidentally creates a time machine and becomes stuck in a different time period