Handle rotated pieces.
Removed comments
Renable shuffle.
sorting a pair of lists