changed the randomly chosen indices in each method to be permutation.length, instead of permutation.length-1. this does not change the methods, they now have the opportunity to randomly choose index permutation.length-1, but not index -1: these are the same.