added a function to shuffle the playlist