Write a story about a scientist who invents a time machine but struggles with the ethical implications of changing the past