Applying the Ekadhikena Purvena Sutra to Investigate Prime and Fermat Pseudoprime Numbers using a Multiple-precision Arithmetic Library in C/C++