trying to fix random
Merge pull request #21 from icegulch/master

Tried to fixed array and randomness