- Added time function to print simulation time of monte carlo algorithm