Implemented random distribution of items