Write a story about a scientist who accidentally invents a device that allows them to travel through time