wrote randomShuffledSubArray () function and added to qimport.js