add modulo multiplication script
add some functions for mod mul