Calculates π using the Gregory-Leibniz series. This might not be precise, just remember that π ≈ 3.14.