Modular Inverse and nCr Code Snippets.