Adding a shuffle method to both ArrayList and LinkedList modules.