randomized penance algorithm and now displays first 3 of array