Generate n digits of pi in hex using BPP