First version of the code just to make sure that the pi calculation is working.