Write a story about a group of friends who discover a mysterious time-traveling device and accidentally end up in a different era