[karp-rabin] migrate this algorithm to a separate repository

Also, performance is fixed now.
parent be456f9c
Pipeline #3703 canceled with stage