init

Link: https://www.hackerrank.com/challenges/string-similarity

Efficiency: O(N)
Algorithm: Z-Algorithm