second submit
.gitignore fix
add template module
Add F problem
precompute module for F problem