added Array.prototype.rand(), removed randomizeArray()