Write a story about a group of friends who discover a time-traveling device and decide to explore different time periods together, only to realize the consequences of altering the past