code correction rand

old ->$i=rand(0,4);

new ->$i=rand(0,3);
#####  4 give error
Merge pull request #44 from adomasalcore3/patch-3

code correction rand