Script to compute pi table