implemented shuffle and added comments
forgot to add modifications to staging area