Implement Fisher-Yates shuffle algorithm