Write a story about a scientist who invents a machine capable of traveling through time, but soon realizes the consequences of altering the past