RollingHash example JAVA