Algorithm for studying polynomial maps and reductions modulo prime number. (September 2022)