Started randomize

starting the randomize function to pre generate the mini pierre
functionality