input: Write a python function to create a dictionary with words as keys and their lengths as values.
  assert getStringLengths(["apple", "mango", "banana"]) == {"apple": 5, "mango": 5, "banana": 6}
  assert getStringLengths(["hello", "world"]) == {"hello": 5, "world": 5}
  assert getStringLengths(["one", "two", "three", "four"]) == {"one": 3, "two": 3, "three": 5, "four": 4}
output: def getStringLengths(words):
      return {word: len(word) for word in words}