introducing sequential monte carlo pi simulation