Add the algorithm KMP for the languaje Java