Calculating large factorial using android application (using NDK)