Doc directory added. Improve Modular_Exp function and test program.