An implementation of BBP through Bellard's formula to calculate the nth digit of Pi.