Update #1: printToFile() and randomize()

printToFile() was added and randomize() was edited to ensure that the original list isn't modified but a new list is created and returned when the function is called.