Calculating the Value of π using a Monte Carlo Method with iFlow