Added timing to see how long it takes to compute pi