Serial C++ version of pi added