KnuthShuffle in C