Implemented Random Simulator