A simple pi (3.141592…) generator written in Python