shuffle cards
some micro optimisations regarding arrays