added monteCarlo.cpp file