dont use the same inthelper twice in the same function

Closes issue #790, previously the same intHelper was being used to both store an array position in shuffleArray and also to generate a random array position in shuffleArray. This has been fixed by adding a third intHelper.