added  monte-carlo code and figures