input: Write a python function to convert a list of words into a list of tuples containing each word and its length.
  assert list_to_tuples(['foo', 'bar', 'baz']) == [('foo', 3), ('bar', 3), ('baz', 3)]
  assert list_to_tuples(['hello', 'world']) == [('hello', 5), ('world', 5)]
  assert list_to_tuples(['python', 'is', 'awesome']) == [('python', 6), ('is', 2), ('awesome', 7)]
output: def list_to_tuples(words):
      return [(word, len(word)) for word in words]