Implement the following function for determining the Jaccard similarity between two strings:
jaccard_sim(x, y, k)
x: the first string
y: the second string
k: an integer value that represents the length of k-grams
Return: the Jaccard similarity between two sets of k-grams derived from the x and y strings, respectively
Let s1 = "Apple Corporation, CA" and s2 = "Apple Corp, CA"
Print the output of: jaccard_sim(s1, s2, k) for k = 1, 2, 3, and 4