add simple monte carlo simulation code

* estimate pi by the monte carlo simulation