#2 Created class for Monte Carlo