input: Write a python function to check if a text exists within a string.
  assert search("hello", "hello world") == True
  assert search("bye", "goodbye") == True
  assert search("python", "I love coding in python") == True
  assert search("java", "I love coding in python") == False
output: def search(text, string):
      return text in string