Pass previousPieces instead of index for future collision detection
Adds randomizePieces method