implemented shuffling and solving sequence