hash: implemented and tested the rabin-karp rolling hash

The commit defines the roller interface and the ComputeHashes function.