compute π on Android platform use a parallel approach